package io.mvvm.ws.exception;

import io.mvvm.ws.entity.RequestInfo;

/**
 * @program: Netty
 * @description: 消息处理器异常
 * @author: 潘
 * @create: 2021-04-28 20:13
 **/
public class NoMessageHandlerException extends RuntimeException {

    private RequestInfo request;

    public NoMessageHandlerException() {
        super();
    }

    public NoMessageHandlerException(String message) {
        super(message);
    }

    public NoMessageHandlerException(String message, RequestInfo request) {
        super(message);
        this.request = request;
    }

    public RequestInfo getRequest() {
        return request;
    }
}
